package com.shellinghome.users;

import com.shellinghome.testtools.Testtools;
import com.shellinghome.vehicle.Bike;
import com.shellinghome.vehicle.Car;
import com.shellinghome.vehicle.Vehicle;
import com.shellinghome.edu.School;
import com.shellinghome.test.Test;

public class Person{
private String name ;
private int age;
private String adds;
private String sex;

public Person(){

}


public void goToSchool(Vehicle vehicle,School school){
	System.out.print("家住"+getAdds()+getAge()+"岁"+getSex( )+"性"+getName( )+"。" );
	vehicle.move(this.name, school);
}


public void doTest(Testtools testtools,Test test){
	testtools.dotest(this.name,test);
}






public void setName(String name ){
	this.name =name ;
}

public String getName ( ){
	return name;
}

public void setAge(int age ){
	this.age =age ;
}

public int getAge ( ){
	return age;
}

public void setAdds(String adds ){
	this.adds =adds ;
}

public String getAdds ( ){
	return adds;
}

public void setSex(String sex ){
	this.sex =sex ;
}

public String getSex ( ){
	return sex;
}





}